package com.yfk.web.service;

import java.util.Map;

public interface IYFKService {
    /**
     * 获取友费控认证token
     * @param apiUrl tokenURL
     * @param appKey    appKey
     * @param appSecret appSecret
     * @return
     * @throws Exception
     */
    public String getAccessToken(String apiUrl, String appKey, String appSecret) throws Exception;

    /**
     * 查询友费控单据列表
     * @param apiUrl
     * @param queryParam
     * @param bodyParam
     * @return
     * @throws Exception
     */
    public String queryYFKBillQuery(String apiUrl, Map queryParam, Object bodyParam) throws Exception;

    /**
     * 查询友费控单据附件列表
     * @param apiUrl
     * @param queryParam
     * @param bodyParam
     * @return
     * @throws Exception
     */
    public String queryYFKBillAttachList(String apiUrl, Map queryParam, Object bodyParam) throws Exception;
    /**
     * 查询友费控单据打印模板PDF
     * @param apiUrl
     * @param queryParam
     * @param bodyParam
     * @return
     * @throws Exception
     */
    public String queryYFKPrintBillPDF(String apiUrl, Map queryParam, Object bodyParam) throws Exception;


}
